package com.onpositive.datacollection.proxy;

import com.onpositive.data.IPropertyMetadata;
import com.onpositive.datamap.core.IPropertyGroup;
import com.onpositive.datamap.item.SingleDataObject;


public interface IRemoteCollectionProxy {

	RemoteCollectionInfo getDetailedInfo(String collectionId);
	
	byte[] getPropertyData(String collectionId,String propId);
	
	SingleDataObject getObject(String collectionId,String id);

	void putValue(String collectionId,String uid, String propId, Object value);

	void updatePropertyGroups(String collectionId,IPropertyGroup[] array);
		
	void updateMeta(String collectionId,IPropertyMetadata m);

	void setValue(String collectionId,int num, IPropertyMetadata meta, Object value);
}
